from rest_framework.viewsets import ModelViewSet
from goods.models import Brand
from . import brand_serializers
from meiduo_admin.my_paginate import MyPageNumberPagination
class BrandlView(ModelViewSet):
    pagination_class = MyPageNumberPagination
    serializer_class = brand_serializers.BrandSerializer
    queryset = Brand.objects.all()